home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 076-100 / disk_076 / include / devices / conunit.g < prev    next >
Text File  |  1992-05-06  |  1KB  |  38 lines

  1. /* requires previous inclusion of:
  2.     include:exec/io.g include:devices/console.g include:devices/inputevent.g */
  3. uint
  4.     PMB_ASM    = M_LNM + 1,
  5.     PMB_AWM    = PMB_ASM + 1,
  6.     MAXTABS    = 80;
  7.  
  8. type
  9.     MsgPort_t = unknown 34,
  10.     KeyMap_t = unknown 32,
  11.  
  12.     ConUnit_t = struct {
  13.     MsgPort_t cu_MP;
  14.     *Window_t cu_Window;
  15.     uint cu_XCP, cu_YCP;
  16.     uint cu_XMax, cu_YMax;
  17.     uint cu_XRSize, cu_YRSize;
  18.     uint cu_XROrigin, cu_YROrigin;
  19.     uint cu_XRExtant, cu_YRExtant;
  20.     uint cu_XMinShrink, cu_YMinShrink;
  21.     uint cu_XCCP, cu_YCCP;
  22.     KeyMap_t cu_KeyMapStruct;
  23.     [MAXTABS]uint cu_TabStops;
  24.     ushort cu_Mask, cu_FgPen, cu_BgPen, cu_AOLPen, cu_DrawMode,cu_AreaPtSz;
  25.     *byte cu_AreaPtrn;
  26.     [8]byte cu_Minterms;
  27.     *TextFont_t cu_Font;
  28.     ushort cu_AlgoStyle, cu_TxFlags;
  29.     uint cu_TxHeight, cu_TxWidth, cu_TxBaseLine, cu_TxSpacing;
  30.     [(PMB_AWM+7)/8]byte cu_Modes;
  31.     [(IECLASS_MAX+7)/8]byte cu_RawEvents;
  32.     };
  33.  
  34. extern
  35.     CDInputHandler(*InputEvent_t events; *Device_t consoleDevice)*InputEvent_t,
  36.     RawKeyConvert(*InputEvent_t event; *char buffer; ulong length;
  37.           *KeyMap_t keyMap)long;
  38.